package com.copm.ifm.servers.sys.mapper.role;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.copm.ifm.servers.sys.dto.SysRoleDTO;
import com.copm.ifm.servers.sys.entity.SysRole;
import com.copm.ifm.servers.sys.vo.SysRoleVO;

import java.util.List;

/**
 * <p>
 * 系统角色表 Mapper 接口
 * </p>
 *
 * @author zzf
 * @since 2020-12-18
 */
public interface SysRoleMapper extends BaseMapper<SysRole> {

    List<SysRoleVO> selectForPage(SysRoleDTO param);

    SysRoleVO selectSysById(Long id);

    SysRoleVO selectVOById(Long id);

    List<SysRoleVO> selectSysByTenantId(int tenantId);
}
